/**
 * 
 */
package com.massyframework.beanskin.launcher.scanning.maven;

import com.massyframework.beanskin.launcher.scanning.ModuleResources;

/**
 * {@link MavenProjectRepository}, Maven项目仓储
 * @author huangkh
 *
 */
public interface MavenProjectRepository {
	
	static final String POM = "pom.xml";
	
	/**
	 * 初始化
	 */
	void init();

	/**
	 * 按{@code resource}查找Maven项目
	 * @param resource {@link ModuleResources}
	 * @return {@link MavenProject}
	 */
	MavenProject findMavenProject(ModuleResources resource);
}
